package org.dizem.groupon.service;

import java.util.List;

/**
 * User: dizem@126.com
 * Time: 11-6-26 下午11:59
 */
public abstract interface ServiceSupport<T> {
	void save(T object);

	void delete(T object);

	void update(T object);

	T getById(int id);

	List<T> loadAll();

	List<T> load(int firstResult, int maxResult);

	int getCount();
}
